const express = require('express')
const app = express()
const port = 8001

app.get('/', (req, res) => {

    console.log(req.query);
    const { name, skinname } = req.query
    res.send({ code: 200, data: req.query })
})

app.listen(port, () => {
    console.log(`Example app listening at http://localhost:${port}`)
})